/**
 * @Description: windicss
 * @Author bianpengfei
 * @create 2022/5/20 11:55
 */
const { defineConfig } = require('windicss/helpers')

module.exports = defineConfig({
  prefix: '',
  purge: [],
  theme: {
    extend: {
      colors: {
        primary: '#1890FF',
        success: '#52C41A',
        danger: '#F5222D',
        error: '#F5222D',
        warning: '#FAAD14',
        high: '#333', // 文字强调色
        mid: '#666', // 文字中强调色
        low: '#999', // 文字低强调色
        disabled: '#BFBFBF', // 禁用颜色
        border: '#D9D9D9', // 边框颜色
        divider: '#E5E5E5' // 分割线颜色
      }
    }
  },
  extract: {
    include: ['./{src,app}/**/*.{jsx,js,css,html,vue}']
    // exclude: ['node_modules', '.git', 'public/**/*', `${PACKAGES_PATH}/shared-*/node_modules/**/*`]
  },
  plugins: [require('windicss/plugin/line-clamp')]
})
